'use strict'

const ua = navigator.userAgent.toLowerCase()

export const IS_WEIXIN = /micromessenger/.test(ua)
export const IS_DINGDONG = /xzone/.test(ua)
export const IS_BROWSER = !(IS_WEIXIN || IS_DINGDONG)